Optimal. Leaf size=116 \[ -\frac{2 \sqrt{e \cos (c+d x)}}{7 d e \left (a^2 \sin (c+d x)+a^2\right )}+\frac{2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{7 a^2 d \sqrt{e \cos (c+d x)}}-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e (a \sin (c+d x)+a)^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.127073, antiderivative size = 116, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16, Rules used = {2681, 2683, 2642, 2641} \[ -\frac{2 \sqrt{e \cos (c+d x)}}{7 d e \left (a^2 \sin (c+d x)+a^2\right )}+\frac{2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{7 a^2 d \sqrt{e \cos (c+d x)}}-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e (a \sin (c+d x)+a)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2681
Rule 2683
Rule 2642
Rule 2641
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{e \cos (c+d x)} (a+a \sin (c+d x))^2} \, dx &=-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e (a+a \sin (c+d x))^2}+\frac{3 \int \frac{1}{\sqrt{e \cos (c+d x)} (a+a \sin (c+d x))} \, dx}{7 a}\\ &=-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e (a+a \sin (c+d x))^2}-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e \left (a^2+a^2 \sin (c+d x)\right )}+\frac{\int \frac{1}{\sqrt{e \cos (c+d x)}} \, dx}{7 a^2}\\ &=-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e (a+a \sin (c+d x))^2}-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e \left (a^2+a^2 \sin (c+d x)\right )}+\frac{\sqrt{\cos (c+d x)} \int \frac{1}{\sqrt{\cos (c+d x)}} \, dx}{7 a^2 \sqrt{e \cos (c+d x)}}\\ &=\frac{2 \sqrt{\cos (c+d x)} F\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{7 a^2 d \sqrt{e \cos (c+d x)}}-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e (a+a \sin (c+d x))^2}-\frac{2 \sqrt{e \cos (c+d x)}}{7 d e \left (a^2+a^2 \sin (c+d x)\right )}\\ \end{align*}
Mathematica [C] time = 0.0448084, size = 64, normalized size = 0.55 \[ -\frac{\sqrt{e \cos (c+d x)} \, _2F_1\left (\frac{1}{4},\frac{11}{4};\frac{5}{4};\frac{1}{2} (1-\sin (c+d x))\right )}{2^{3/4} a^2 d e \sqrt [4]{\sin (c+d x)+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 1.764, size = 372, normalized size = 3.2 \begin{align*} -{\frac{2}{7\,{a}^{2}d} \left ( 8\,\sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}{\it EllipticF} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ) \sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1} \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{6}-12\,\sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}{\it EllipticF} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ) \sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1} \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}+8\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{6}\cos \left ( 1/2\,dx+c/2 \right ) +6\,\sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}{\it EllipticF} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ) \sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}} \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-8\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}\cos \left ( 1/2\,dx+c/2 \right ) -\sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}\sqrt{ \left ( \sin \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) ^{2}}{\it EllipticF} \left ( \cos \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) ,\sqrt{2} \right ) +6\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}\cos \left ( 1/2\,dx+c/2 \right ) -2\,\sin \left ( 1/2\,dx+c/2 \right ) \right ) \left ( 8\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{6}-12\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}+6\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1 \right ) ^{-1} \left ( \sin \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) ^{-1}{\frac{1}{\sqrt{-2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}e+e}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{e \cos \left (d x + c\right )}{\left (a \sin \left (d x + c\right ) + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{e \cos \left (d x + c\right )}}{a^{2} e \cos \left (d x + c\right )^{3} - 2 \, a^{2} e \cos \left (d x + c\right ) \sin \left (d x + c\right ) - 2 \, a^{2} e \cos \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{e \cos \left (d x + c\right )}{\left (a \sin \left (d x + c\right ) + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]